/*
* @Author: Marte
* @Date:   2020-07-06 10:21:47
* @Last Modified by:   Marte
* @Last Modified time: 2020-07-08 15:27:24
*/

'use strict';
import Vue from "vue";
import {
  Button,
  Tabbar,
  TabbarItem,
  Divider,
  CellGroup,
  Cell,
  Field,
  Toast,
  Image,
  Swipe,
  SwipeItem,
  Loading,
  Lazyload,
  Col,
  Row,
  Sticky,
  Tab,
  Tabs,
  ImagePreview,
  CountDown,
  List,
  PullRefresh,
  Uploader,
  Area,
  RadioGroup,
  Radio,
  DatetimePicker,
  Dialog,
  Overlay,
  Popup,
  Checkbox,
  CheckboxGroup,
  Search,
  DropdownMenu, 
  DropdownItem,
  Form,
  Picker,
  Collapse, 
  CollapseItem,
  Icon,
  ActionSheet
} from "vant";

Vue.use(Button)
  .use(Field)
  .use(Swipe)
  .use(SwipeItem)
  .use(Loading)
  .use(Image)
  .use(Cell)
  .use(Toast)
  .use(CellGroup)
  .use(Divider)
  .use(Tabbar)
  .use(TabbarItem)
  .use(Lazyload)
  .use(Col)
  .use(Row)
  .use(Sticky)
  .use(Tab)
  .use(Tabs)
  .use(ImagePreview)
  .use(CountDown)
  .use(List)
  .use(PullRefresh)
  .use(Toast)
  .use(Uploader)
  .use(Area)
  .use(RadioGroup)
  .use(Radio)
  .use(DatetimePicker)
  .use(Dialog)
  .use(Overlay)
  .use(Popup)
  .use(Checkbox)
  .use(CheckboxGroup)
  .use(Search)
  .use(DropdownMenu)
  .use(DropdownItem)
  .use(Form)
  .use(Picker)
  .use(Collapse)
  .use(CollapseItem)
  .use(Icon)
  .use(ActionSheet);

Vue.prototype.$toast = Toast;
